package com.huiqiao.sys.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(name = "sys_menu")
public class Menu {
    @Id
    private Integer id;

    private Integer pid;

    private String title;

    private String href;

    /**
     * 0不展开1展开
     */
    private Integer spread;

    private String target;

    private String icon;

    /**
     * 0不可⽤1可⽤
     */
    private Integer available;

}